//
//  ExpenseEditViewController.h
//  iExpense
//
//  Created by WU, Zhenyu on 7/2/09.
//  Copyright 2009 National Instruments. All rights reserved.
//

#import <UIKit/UIKit.h>
@class Expense;

@interface ExpenseEditViewController : UITableViewController {
	Expense			*expense;
	NSDateFormatter *dateFormatter;
	NSDateFormatter *timeFormatter;
	NSUndoManager	*undoManager;
}

@property (nonatomic, retain) Expense *expense;
@property (nonatomic, retain) NSDateFormatter *dateFormatter;
@property (nonatomic, retain) NSDateFormatter *timeFormatter;
@property (nonatomic, retain) NSUndoManager *undoManager;

- (void)setUpUndoManager;
- (void)cleanUpUndoManager;
- (void)updateRightBarButtonItemState;

@end
